package world.snowcrystal.Enum;

public enum ApplicationStatusCodeEnum {


    OK(0),
    INNER_ERROR(1),
    HAS_MORE(10),
    CREATED(100),
    ALREADY_EXISTS(101),
    BAD_REQUEST(400),
    USE_NATIVE(304),
    NOT_FOUND(404),
    NEED_AUTHENTICATION(403),
    NO_CREDENTIALS_PROVIDED(402),
    BAD_CREDENTIALS(401),
    OPERATION_FAILED(505);


    private final Integer code;

    ApplicationStatusCodeEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }


}
